<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<body>
<div class="container" th:fragment="header">
    <div class="row">
        <div class="col col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
            <div class="ui-block">
                <div class="top-header">
                    <div class="top-header-thumb">
                        <img th:src="${session.homePage.imagePath != null} ? ${session.homePage.imagePath} : 'img/video1.jpg'"
                             alt="nature" style="max-width: 1268px; max-height: 500px"
                             onerror="this.src='img/top-header4.png'">
                    </div>
                    <div class="profile-section" id="profile-section">
                        <div class="row">
                            <div class="col col-lg-5 col-md-5 col-sm-12 col-12">
                                <ul class="profile-menu">
                                    <li>
                                        <a th:href="@{/ProfilePage}" id="Timeline">Timeline</a>
                                    </li>
                                    <li>
                                        <a href="#" onclick="alert('此功能尚在开发。。')" id="About" >About</a>
                                    </li>
                                    <li>
                                        <a th:href="@{/profileFriends}" id="Friends">Friends</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="col col-lg-5 ml-auto col-md-5 col-sm-12 col-12">
                                <ul class="profile-menu">
                                    <li>
                                        <a onclick="alert('此功能尚在开发。。')" id="Photos">Photos</a>
                                    </li>
                                    <li>
                                        <a onclick="alert('此功能尚在开发。。')" id="Videos">Videos</a>
                                    </li>
                                   <!-- <li>
                                        <div class="more">
                                            <svg class="olymp-three-dots-icon">
                                                <use xlink:href="svg-icons/sprites/icons.svg#olymp-three-dots-icon"></use>
                                            </svg>
                                            <ul class="more-dropdown more-with-triangle">
                                                <li>
                                                    <a href="#">Report Profile</a>
                                                </li>
                                                <li>
                                                    <a href="#">Block Profile</a>
                                                </li>
                                            </ul>
                                        </div>
                                    </li>-->
                                </ul>
                            </div>
                        </div>

                        <div class="control-block-button">
                            <a href="35-YourAccount-FriendsRequests.html" class="btn btn-control bg-blue">
                                <svg class="olymp-happy-face-icon">
                                    <use xlink:href="svg-icons/sprites/icons.svg#olymp-happy-face-icon"></use>
                                </svg>
                            </a>

                            <a href="#" class="btn btn-control bg-purple">
                                <svg class="olymp-chat---messages-icon">
                                    <use xlink:href="svg-icons/sprites/icons.svg#olymp-chat---messages-icon"></use>
                                </svg>
                            </a>

                            <div class="btn btn-control bg-primary more">
                                <svg class="olymp-settings-icon">
                                    <use xlink:href="svg-icons/sprites/icons.svg#olymp-settings-icon"></use>
                                </svg>

                                <ul class="more-dropdown more-with-triangle triangle-bottom-right">
                                    <li>
                                        <a href="#" data-toggle="modal" data-target="#update-user-photo">修改头像</a>
                                    </li>
                                    <li>
                                        <a href="#" data-toggle="modal" data-target="#update-header-photo">修改个人主页背景图片</a>
                                    </li>
                                    <li>
                                        <a href="accountSettings.html">账户设置</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="top-header-author">
                        <a th:href="@{/ProfilePage}" class="author-thumb">
                            <img th:src="${session.loginUser.imagePath}" alt="author"
                                 style="width: 132px;height: 132px;">
                        </a>
                        <div class="author-content">
                            <a th:href="@{/ProfilePage}" class="h4 author-name"
                               th:text="${session.loginUser.userName}">James Spiegel</a>
                            <div class="country"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>